package com.drojian.model;

import com.drojian.entity.Goods;

import java.util.List;

/**
 * 数据源  来自于网络、数据库，thread，server
 */
public interface IGoodsModel {
    void loadGoodsData(OnLoadListener onLoadListener);
    interface OnLoadListener{
        void onComplete(List<Goods> goods);
        void onError(String msg);
    }
}
